﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Logistics_Management_System.Objects;

namespace Logistics_Management_System.Customer_Employee_Permission
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IEmployee_Service" in both code and config file together.
    [ServiceContract]
    public interface IEmployee_Service
    {   
        [OperationContract]
        LoginResult EmployeeLogin(string username, string password);

        [OperationContract]
        ReturnBool ChangePassword(int emp_id, string old_password, string new_password);

        [OperationContract]
        List<LG_Employee> GetAllEmployees();

        [OperationContract]
        ReturnBool AddNewEmployee(LG_Employee new_emp);

        [OperationContract]
        ReturnBool EditInfoEmployee(int emp_id, LG_Employee new_emp);

        [OperationContract]
        ReturnBool RemoveEmployee(int emp_id);

    }
}
